import {request} from "@/utils/request/request";

/**
 *  我的 - 调休
 */
export class AgreementApi {

    /**
     *  查看用户协议
     */
    static getUserAgreement(data) {
        return request({
            url: '/ctApi/agreement/getUserAgreement',
            method: 'get',
            needToken: false,
            data: data
        })
    }

    /**
     *  查看隐私协议
     */
    static getPrivacyPolicy(data) {
        return request({
            url: '/ctApi/agreement/getPrivacyPolicy',
            method: 'get',
            needToken: false,
            data: data
        })
    }

}